'''
'''

from PyQt4.QtGui import QDialog
from SimpleCells.Gui.Ui_SCTableResetDialog import Ui_SCTableResetDialog

class SCTableResetDialog(QDialog,Ui_SCTableResetDialog):
    ''''''
    def __init__(self,rows=100,cols=20,parent=None):
        QDialog.__init__(self,parent)
        self.setupUi(self)
        self.rows = rows
        self.cols = cols

    def accept(self):
        self.rows = self.rowBox.value()
        self.cols = self.colBox.value()
        QDialog.accept(self)

if __name__ == '__main__':
    pass
